//
//  EditViewModel.h
//  CoreData
//
//  Created by ZRAR on 16/1/18.
//  Copyright © 2016年 ZRAR. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "RVMViewModel.h"

@class Person;

@interface EditViewModel : RVMViewModel

@property (nonatomic, readonly)Person *model;

@property (nonatomic, assign, getter=isInserting) BOOL inserting;

@property(nonatomic, strong)NSString *name;
@property(nonatomic, strong)NSString *phone;
@property(nonatomic, strong)NSString *email;
@property(nonatomic, strong)NSString *adress;
@property(nonatomic, strong)NSString *header;

- (void)cancel;

- (void)willDismiss;



@end
